#pragma once
#include"diy.h"
class worker
{
public:
	virtual void information() = 0;
	virtual void salary() = 0;

public:
	string ID;
	string name;
	string position;

};
class boss :public worker
{
public:
	boss(string id, string name, string position);
	void information();
	void salary();
};
class manager :public worker
{

public:
	manager(string id, string name, string position);
	void information();
	void salary();
};

class employee :public worker
{

public:
	employee(string id, string name, string position);
	void information();
	void salary();
};

